.layui-layout-admin {
  .layui-header {
    left: 150px;
    height: 50px;
    background-color: unset;

    .layui-layout-left {
      left: 0;
    }

    .layui-nav-item {
      cursor: pointer;
    }

    .nav-menu-icon {
      margin: 0 15px;
    }

    .layui-nav {
      .layui-nav-item {
        line-height: 50px;
      }
    }

    .layui-icon {
      color: #5f5f5f;
    }

    span {
      color: #5f5f5f;
    }
  }

  .layui-side {
    width: 150px;

    .layui-side-scroll {
      ul {
        width: 150px;
      }
    }
  }

  .layui-body {
    top: 50px;
    left: 150px;
    padding-bottom: 34px;
    height: calc(100vh - 50px);
    overflow: scroll;
  }

  .layui-footer {
    left: 150px;
    line-height: 34px;
    height: 34px;
    padding: 0 10px;
    text-align: center;
  }
}

/*锁屏样式*/
.class-demo-layer-lockscreen {
  background-color: #16b777;
  background-size: cover;
  color: rgba(255, 255, 255, 1);

  .layui-form {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    transform: translate(-50%, -50%);
  }

  .layui-form > div {
    margin-bottom: 8px;
  }

  .layui-input-suffix {
    pointer-events: auto;
    background-color: #16baaa;
    border-radius: 0 3px 3px 0;
  }

  .layui-input-suffix .layui-icon-right {
    cursor: pointer;
    color: #fff;
  }
}

.class-demo-layer-pin {
  width: 100%;
  height: 38px;
  padding: 0 8px;
  background-color: rgba(255, 255, 255, .8);
  border: none;
  border-radius: 3px;
  box-sizing: border-box;
}

.layui-table {
  thead {
    tr {
      background-color: #f7f7f7;

      th {
        .layui-table-cell {
          text-align: center;
        }
      }
    }
  }
}

.layui-table-tool-temp {
  display: flex;
  gap: 10px;

  .layui-input, .layui-select, .layui-textarea {
    height: 30px;
  }

  .layui-input-affix {
    line-height: 30px;
  }
}

label.layui-form-label.required::before {
  content: '*';
  color: red;
  margin-right: 5px;
}